package com.javabase;

/**
 * @Description: java类作用描述
 * @Author: Bsea
 * @CreateDate: 2019/6/14$ 21:55$
 */
public class Animal {
    private static int k;
    {
        System.out.println("执行父类的构造代码块");
    }
    static{
        System.out.println("父类的静态方法");
    }
    public Animal(){
        System.out.println("执行父类的构造方法");
    }
    public static void main(String[] args) {
        Animal animal1 = new Animal();
        System.out.println("**************");
        Animal animal2 = new Animal();
    }
}
